package com.retirement.records.service;

import com.retirement.records.dto.OldHealthRecordsPageDto;
import com.retirement.records.vo.OldHealthRecordsPVo;
import com.retirement.records.vo.OldHealthRecordsPageVo;
import com.retirement.records.domain.OldHealthRecords;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lijy
 * @since 2023-12-21
 */
public interface IOldHealthRecordsService extends IService<OldHealthRecords> {

    List<OldHealthRecordsPageVo> getList(OldHealthRecordsPageDto dto);
    OldHealthRecordsPVo getDetail(String id);

    int addRecords(OldHealthRecords dto);

    int updateRecords(OldHealthRecords dto);

    int deleteRecords(String id);

}
